Crate sapio_base

source ·
Expand description

base sapio library functionality and definitions, not particular to sapio compiler

Re-exports

Modules

  • general non-parameter compilation state required by all contracts
  • arguments for passing into a sapio module
  • Helpers for serializing Arcs
  • Utilities for working with SIMPs (Sapio Interactive Metadata Protocols)
  • Helpers for making correct time locks
  • Trait & Structs for accessing Chain Data
  • Extra functionality for working with Bitcoin types

Type Aliases

  • Concrete Instantiation of Miniscript Policy. Because we need to be able to generate exact transactions, we only work with bitcoin::PublicKey types.